﻿<?php
require_once(dirname(__FILE__)."/../../libs/login/login.php"); 

$lg=new login();
$lg->checklogin("admin_member");//检验是否登录


	error_reporting(E_ERROR | E_WARNING | E_PARSE);
	ob_start();
    define('YES', '<span class=resYes>YES</span>');
    define('NO', '<span class=resNo>NO</span>');
    define('ICON', '<span class=icon>2</span>&nbsp;');
    $phpSelf = $_SERVER[PHP_SELF] ? $_SERVER[PHP_SELF] : $_SERVER[SCRIPT_NAME];
    define('PHPSELF', preg_replace('/(.{0,}?\/+)/', '', $phpSelf));
	if($_GET['act']=='phpinfo')
	{
		phpinfo();
		exit();
	}
    // 系统参数
    switch (PHP_OS)
    {
        case 'Linux':
        $sysReShow = (($sysInfo = sys_linux()) !== false)?'show':'none';
        break;
        case 'FreeBSD':
        $sysReShow = (($sysInfo = sys_freebsd()) !== false)?'show':'none';
        break;
        default:
        break;
    }

    function isfun($funName)
    {
        return (false !== function_exists($funName))?YES:NO;
    }
    function getcon($varName)
    {
		@ $res = ini_get($varName);
		if($res=='' || $res=='0' || $res=='1')
		{}else{$res = get_cfg_var($varName);}
		switch($res)
        {
            case 0:
            return NO;
            break;
            case 1:
            return YES;
            break;
            default:
            return $res;
            break;
        }
    }
    function bar($percent)
    {
    }
	//--------------------------------
	//获得GD的版本
	//--------------------------------
	function gdversion()
	{ 
	  static $gd_version_number = null; 
	  if ($gd_version_number === null)
	  { 
		ob_start(); 
		phpinfo(8); 
		$module_info = ob_get_contents(); 
		ob_end_clean(); 
		if(preg_match('/\bgd\s+version\b[^\d\n\r]+?([\d\.]+)/i', $module_info,$matches))
		{   $gdversion_h = $matches[1];  }
		else
		{  $gdversion_h = 0; }
	  } 
	  return $gdversion_h;
	}
	//--------------------------------
	//获得mysql的版本
	//<td class='e'>Client API version </td><td class='v'>5.0.51a </td>
	//--------------------------------
	function mysqlversion()
	{ 
	  static $mysql_version_number = null; 
	  if ($mysql_version_number === null)
	  { 
		ob_start(); 
		phpinfo(8); 
		$module_info = ob_get_contents(); 
		ob_end_clean();
		if(preg_match('/Client API version <\/td><td class="v">([^<\/td>]*)<\/td>/i', $module_info,$matches))
		{$mysqlversion_h = $matches[1];  }
		else
		{$mysqlversion_h = 0; }
	  } 
	  return $mysqlversion_h;
	}
/*--------------------------------------------------------------
    系统参数探测 LINUX
-------------------------------------------------------------*/
    function sys_linux()
    {
        // CPU
        if (false === ($str = @file('/proc/cpuinfo'))) return false;
        $str = implode('', $str);
        @preg_match_all('/model\s+name\s{0,}\:+\s{0,}([\w\s\)\(.]+)[\r\n]+/', $str, $model);
        @preg_match_all('/cache\s+size\s{0,}\:+\s{0,}([\d\.]+\s{0,}[A-Z]+[\r\n]+)/', $str, $cache);
        if (false !== is_array($model[1]))
            {
            $res['cpu']['num'] = sizeof($model[1]);
            for($i = 0; $i < $res['cpu']['num']; $i++)
            {
                $res['cpu']['detail'][] = '类型：'.$model[1][$i].' 缓存：'.$cache[1][$i];
            }
            if (false !== is_array($res['cpu']['detail'])) $res['cpu']['detail'] = implode('<br />', $res['cpu']['detail']);
            }
         
         
        // UPTIME
        if (false === ($str = @file('/proc/uptime'))) return false;
        $str = explode(' ', implode('', $str));
        $str = trim($str[0]);
        $min = $str / 60;
        $hours = $min / 60;
        $days = floor($hours / 24);
        $hours = floor($hours - ($days * 24));
        $min = floor($min - ($days * 60 * 24) - ($hours * 60));
        if ($days !== 0) $res['uptime'] = $days.'天';
        if ($hours !== 0) $res['uptime'] .= $hours.'小时';
        $res['uptime'] .= $min.'分钟';
         
        // MEMORY
        if (false === ($str = @file('/proc/meminfo'))) return false;
        $str = implode('', $str);
        preg_match_all('/MemTotal\s{0,}\:+\s{0,}([\d\.]+).+?MemFree\s{0,}\:+\s{0,}([\d\.]+).+?SwapTotal\s{0,}\:+\s{0,}([\d\.]+).+?SwapFree\s{0,}\:+\s{0,}([\d\.]+)/s', $str, $buf);
         
        $res['memTotal'] = round($buf[1][0]/1024, 2);
        $res['memFree'] = round($buf[2][0]/1024, 2);
        $res['memUsed'] = ($res['memTotal']-$res['memFree']);
        $res['memPercent'] = (floatval($res['memTotal'])!=0)?round($res['memUsed']/$res['memTotal']*100,2):0;
         
        $res['swapTotal'] = round($buf[3][0]/1024, 2);
        $res['swapFree'] = round($buf[4][0]/1024, 2);
        $res['swapUsed'] = ($res['swapTotal']-$res['swapFree']);
        $res['swapPercent'] = (floatval($res['swapTotal'])!=0)?round($res['swapUsed']/$res['swapTotal']*100,2):0;
         
        // LOAD AVG
        if (false === ($str = @file('/proc/loadavg'))) return false;
        $str = explode(' ', implode('', $str));
        $str = array_chunk($str, 3);
        $res['loadAvg'] = implode(' ', $str[0]);
         
        return $res;
    }
/*-----------------------------------------------------------------------
    系统参数探测 FreeBSD
--------------------------------------------------------------*/
    function sys_freebsd()
    {
        //CPU
        if (false === ($res['cpu']['num'] = get_key('hw.ncpu'))) return false;
        $res['cpu']['detail'] = get_key('hw.model');
         
        //LOAD AVG
        if (false === ($res['loadAvg'] = get_key('vm.loadavg'))) return false;
        $res['loadAvg'] = str_replace('{', '', $res['loadAvg']);
        $res['loadAvg'] = str_replace('}', '', $res['loadAvg']);
         
        //UPTIME
        if (false === ($buf = get_key('kern.boottime'))) return false;
        $buf = explode(' ', $buf);
        $sys_ticks = time() - intval($buf[3]);
        $min = $sys_ticks / 60;
        $hours = $min / 60;
        $days = floor($hours / 24);
        $hours = floor($hours - ($days * 24));
        $min = floor($min - ($days * 60 * 24) - ($hours * 60));
        if ($days !== 0) $res['uptime'] = $days.'天';
        if ($hours !== 0) $res['uptime'] .= $hours.'小时';
        $res['uptime'] .= $min.'分钟';
         
        //MEMORY
        if (false === ($buf = get_key('hw.physmem'))) return false;
        $res['memTotal'] = round($buf/1024/1024, 2);
        $buf = explode('\n', do_command('vmstat', ''));
        $buf = explode(' ', trim($buf[2]));
         
        $res['memFree'] = round($buf[5]/1024, 2);
        $res['memUsed'] = ($res['memTotal']-$res['memFree']);
        $res['memPercent'] = (floatval($res['memTotal'])!=0)?round($res['memUsed']/$res['memTotal']*100,2):0;
		         
        $buf = explode('\n', do_command('swapinfo', '-k'));
        $buf = $buf[1];
        preg_match_all('/([0-9]+)\s+([0-9]+)\s+([0-9]+)/', $buf, $bufArr);
        $res['swapTotal'] = round($bufArr[1][0]/1024, 2);
        $res['swapUsed'] = round($bufArr[2][0]/1024, 2);
        $res['swapFree'] = round($bufArr[3][0]/1024, 2);
        $res['swapPercent'] = (floatval($res['swapTotal'])!=0)?round($res['swapUsed']/$res['swapTotal']*100,2):0;
         
        return $res;
    }
     
/*----------------------------------------------------------------------
    取得参数值 FreeBSD
-------------------------------------------------------------------*/
	function get_key($keyName)
    {
        return do_command('sysctl', '-n $keyName');
    }
     
/*---------------------------------------------------------------------
    确定执行文件位置 FreeBSD
------------------------------------------------------------------*/
    function find_command($commandName)
    {
        $path = array('/bin', '/sbin', '/usr/bin', '/usr/sbin', '/usr/local/bin', '/usr/local/sbin');
        foreach($path as $p)
        {
            if (@is_executable("$p/$commandName")) return "$p/$commandName";
        }
        return false;
    }
     
/*---------------------------------------------------------------------
    执行系统命令 FreeBSD
--------------------------------------------------------*/
    function do_command($commandName, $args)
    {
        $buffer = '';
        if (false === ($command = find_command($commandName))) return false;
        if ($fp = @popen("$command $args", 'r'))
            {
				while (!@feof($fp))
				{
					$buffer .= @fgets($fp, 4096);
				}
				return trim($buffer);
			}
        return false;
    }

	$isMysql = (false !== function_exists("$dbconn->execute"))?'':' disabled';
	$isMail = (false !== function_exists('mail'))?'':' disabled';



$path="服务器信息";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery.js"></script>
</head>
<body style="background:#fff"> 

<div class="content">
    <div class="right">
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
   	<tr>
        <td width="100%" height="24" class="top_head">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="1%" align="right"  height="45">&nbsp;</td>
                <td width="99%" >
                 <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="55%" style="padding-left:20px;padding-top:10px;"><img src="../images/head.gif" width="13" height="11"><b><?php echo $path;?></b></td>
                    <td width="45%" align="right">&nbsp;</td>
                  </tr>
                </table>
                </td>
              </tr>
            </table>
        </td>
      </tr>
      <tr>
        <td>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="bg">
          <tr>
            <td valign="middle" align="center" >
                 <table width="92%"   border="1px" bordercolor="#ccc" cellspacing="0px" style="border-collapse:collapse">
                    <thead align="center" bgcolor="#EEEEEE">
                      <tr>
                          <th colspan="4"><h2>服务器信息</h4></th>   
                      </tr>
                    </thead>
                  <tbody>
                    <tr align="center" bgcolor="#FFFFFF">
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>服务器处理器 CPU</b></td>
                        <td height="28" align="left" style="padding-left:10px;"  width="35%">CPU个数：<?=++$sysInfo['cpu']['num']?><?=$sysInfo['cpu']['detail']?></td>
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>服务器时间</b></td>
                        <td height="28"  align="left" style="padding-left:10px;" width="35%"><?=date('Y年n月j日 H:i:s')?>&nbsp;&nbsp;&nbsp;北京时间：<?=gmdate('Y年n月j日 H:i:s',time()+8*3600)?></td>
                    </tr>
                    <tr align="center" bgcolor="#FFFFFF">
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>服务器运行时间</b></td>
                        <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=$sysInfo['uptime']?></td>
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>服务器域名/IP地址</b></td>
                        <td height="28"  align="left" style="padding-left:10px;" width="35%"><?=$_SERVER['SERVER_NAME']?>(<?=@gethostbyname($_SERVER['SERVER_NAME'])?>)</td>
                    </tr>
                    <tr align="center" bgcolor="#FFFFFF">
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>服务器操作系统<?$os = explode(" ", php_uname());?></b></td>
                        <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=$os[0];?>&nbsp;内核版本：<?=$os[2]?></td>
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>主机名称</b></td>
                        <td height="28"  align="left" style="padding-left:10px;" width="35%"><?=$os[1];?></td>
                    </tr>
                    <tr align="center" bgcolor="#FFFFFF">
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>服务器解译引擎</b></td>
                        <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=$_SERVER['SERVER_SOFTWARE']?></td>
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>Web服务端口</b></td>
                        <td height="28"  align="left" style="padding-left:10px;" width="35%"><?=$_SERVER['SERVER_PORT']?></td>
                    </tr>
                    <tr align="center" bgcolor="#FFFFFF">
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>服务器管理员</b></td>
                        <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=$_SERVER['SERVER_ADMIN']?></td>
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>目前还有空余空间&nbsp;diskfreespace</b></td>
                        <td height="28"  align="left" style="padding-left:10px;" width="35%"><?=round((@disk_free_space('.')/(1024*1024)),2)?> M</td>
                    </tr>
                    <?php if('show'==$sysReShow){?>
                    <tr align="center" bgcolor="#FFFFFF">
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>内存使用状况</b></td>
                        <td height="28" align="left" style="padding-left:10px;"  width="35%">物理内存：共<?=$sysInfo['memTotal']?>M, 已使用<?=$sysInfo['memUsed']?>M, 空闲<?=$sysInfo['memFree']?>M, 使用率<?=$sysInfo['memPercent']?>%<?=bar($sysInfo['memPercent'])?>SWAP区：共<?=$sysInfo['swapTotal']?>M, 已使用<?=$sysInfo['swapUsed']?>M, 空闲<?=$sysInfo['swapFree']?>M, 使用率<?=$sysInfo['swapPercent']?>%<?=bar($sysInfo['swapPercent'])?></td>
                        <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>系统平均负载</b></td>
                        <td height="28"  align="left" style="padding-left:10px;" width="35%"><?=$sysInfo['loadAvg']?></td>
                    </tr>
                    <?php }?>
                  </tbody>
                  <thead align="center" bgcolor="#EEEEEE">
                      <tr>
                          <th colspan="4"><h2>PHP基本特性</h4></th>   
                      </tr>
                    </thead>
                    <tbody>
                    <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>PHP运行方式</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=strtoupper(php_sapi_name())?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>PHP版本</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=PHP_VERSION?></td>
                  </tr>
                  
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>运行于安全模式</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=getcon('safe_mode')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>支持ZEND编译运行</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=(get_cfg_var('zend_optimizer.optimization_level')||get_cfg_var('zend_extension_manager.optimizer_ts')||get_cfg_var('zend_extension_ts')) ?YES:NO?></td>
              
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>允许使用URL打开文件&nbsp;allow_url_fopen</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=getcon('allow_url_fopen')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>允许动态加载链接库&nbsp;enable_dl</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=getcon('enable_dl')?></td>
              
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>显示错误信息&nbsp;display_errors</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=getcon('display_errors')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>自动定义全局变量&nbsp;register_globals</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=getcon('register_globals')?></td>
              
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>程序最多允许使用内存量&nbsp;memory_limit</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=getcon('memory_limit')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>POST最大字节数&nbsp;post_max_size</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=getcon('post_max_size')?></td>
              
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>允许最大上传文件&nbsp;upload_max_filesize</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=getcon('upload_max_filesize')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>程序最长运行时间&nbsp;max_execution_time</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=getcon('max_execution_time')?>	秒</tr>
              
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>magic_quotes_gpc</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=(1===get_magic_quotes_gpc())?YES:NO?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>magic_quotes_runtime</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=(1===get_magic_quotes_runtime())?YES:NO?></td>
              
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>被禁用的函数&nbsp;disable_functions</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=(''==($disFuns=get_cfg_var('disable_functions')))?'无':str_replace(',','<br />',$disFuns)?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" ><b>PHP信息&nbsp;PHPINFO</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=(false!==eregi('phpinfo',$disFuns))?NO:"<a href='$phpSelf?act=phpinfo' target='_blank' class='static'>PHPINFO</a>"?></td>
              
                  </tr>
                  </tbody>
                   <thead align="center" bgcolor="#EEEEEE">
                      <tr>
                          <th colspan="4"><h2>PHP组件支持</h4></th>   
                      </tr>
                    </thead>
                    <tbody>
                    <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >拼写检查 ASpell Library</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('aspell_check_raw')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > 高精度数学运算 BCMath</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('bcadd')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >历法运算 Calendar</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('cal_days_in_month')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >DBA数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('dba_close')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > dBase数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('dbase_close')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > DBM数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('dbmclose')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >  FDF表单资料格式</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('fdf_get_ap')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >FilePro数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('filepro_fieldcount')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > Hyperwave数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('hw_close')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > 图形处理 GD Library</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('gd_info')?> (版本：<span class="resYes"><?=gdversion()?></span>)</td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >IMAP电子邮件系统</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('imap_close')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > Informix数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('ifx_close')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > LDAP目录协议</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('ldap_close')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >MCrypt加密处理</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('mcrypt_cbc')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > 哈稀计算 MHash</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('mhash_count')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >mSQL数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('msql_close')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > SQL Server数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('mssql_close')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > MySQL数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('mysql_close');?> (版本：<span class="resYes"><?=mysqlversion()?></span>)</td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > SyBase数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('sybase_close')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > Yellow Page系统</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('yp_match')?></td>
              
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >Oracle数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('ora_close')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >Oracle 8 数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('OCILogOff')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >PREL相容语法 PCRE</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('preg_match')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > PDF文档支持</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('pdf_close')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >Postgre SQL数据库</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('pg_close')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > SNMP网络管理协议</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('snmpget')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >VMailMgr邮件处理</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('vm_adduser')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > WDDX支持</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('wddx_add_vars')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >压缩文件支持(Zlib)</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('gzclose')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > XML解析</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('xml_set_object')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >FTP</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('ftp_login')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >ODBC数据库连接</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('odbc_close')?></td>
                  </tr>
                  <tr align="center" bgcolor="#FFFFFF">
                      <td height="28" align="right" width="15%" style="padding-right:10px;" > Session支持</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('session_start')?></td>
                      <td height="28" align="right" width="15%" style="padding-right:10px;" >Socket支持</td>
                      <td height="28" align="left" style="padding-left:10px;"  width="35%"><?=isfun('socket_accept')?></td>
                  </tr>
                  </tbody>
                </table>
                </td>
              </tr>
        </table>
        </td>
      </tr>
    </table>
    </div>
</div>
</body>
</html>